<?php
session_start();
include_once('./header.php');
if(isset($_SESSION['user']) && !empty($_SESSION['user'])){
	echo '<script>alert("您已登录！");window.location.href="/home/index.php"</script>';
}
?>
</head>
<body>
	<!-- SITE WRAPPER -->
	<div id="wrapper">
	
		<!-- PAGE WITH CONTENTS -->
		<div id="page">
			<div id="content">

				<!-- COMMENTS REPLY -->
				<h1>login</h1>
				<div class="hr"></div>

				<form action="dologin.php" method="post" enctype="multipart/form-data" style="margin-left: 20px;">
				<ul id="respond">
					<li>
						<label for="uname">账号 <span class="required">*</span></label>	
						<input name="uname" id="uname" type="text" class="comment-textinput" value="" />
					</li>
					<li>
						<label for="pwd">密码 <span class="required">*</span></label>	
						<input name="pwd" id="pwd" type="password" class="comment-textinput" value="" />
					</li>
					
					<li>
						<input type="submit" id="submit_btn"/>
					</li>
				</ul>
				</form>
			</div><!-- #content ends -->	
		</div><!-- #page ends -->
			
		
		<!-- SIDEBAR -->
		<?php include_once('./public/public.php') ?>
			
		</div><!-- #sidebar ends -->			
					
	</div><!-- #wrapper ends -->

	
	<!-- BACKGROUND SLIDER -->
	<div id="bg_slider">	
		<img src="/public/images/bgslider-1.jpg" alt="" />
		<img src="/public/images/bgslider-2.jpg" alt="" />
		<img src="/public/images/bgslider-3.jpg" alt="" />
	</div>


</body>
</html>